<template>
  <div>
    <h1 class="app">你好啊</h1>
    <Person />
  </div>
</template>

<script lang="ts">
import Person from "./components/Person.vue";
export default {
  // 组件名
  name: "App",
  // 注册组件
  components: { Person },
};
</script>

<style scoped>
/* 样式 */
.app {
  background-color: #ddd;
  box-shadow: 0, 0, 10px;
  border-radius: 10px;
  padding: 20px;
}
</style>
